package com.jn.rxjava.service;

import java.util.List;

public class NewsResponse {
    private int code;
    private String msg;
    private Result result;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public Result getResult() {
        return result;
    }

    public static class Result {
        private List<String> news;
        private String weiyu;
        private String image;
        private String date;
        private String createdAt;

        public List<String> getNews() {
            return news;
        }

        public String getWeiyu() {
            return weiyu;
        }

        public String getImage() {
            return image;
        }

        public String getDate() {
            return date;
        }

        public String getCreatedAt() {
            return createdAt;
        }
    }
}
